<template>
  <ElFormItem prop="type" label="显示类型">
    <ElSelect v-model="elProps.type" style="width: 100%">
      <ElOption label="text" value="text"></ElOption>
      <ElOption label="textarea" value="textarea"></ElOption>
      <ElOption label="password" value="password"></ElOption>
      <ElOption label="number" value="number"></ElOption>
    </ElSelect>
  </ElFormItem>
</template>
<script setup lang="ts" name="InputTypeEditor">
import { ElFormItem, ElSelect, ElOption } from "element-plus";
defineProps({
  elProps: {
    type: Object
  }
});
</script>
